package com.ssm.entity;

import java.sql.Timestamp;

/**
 * Created by bai on 2017/7/28.
 */
public class File  {
    private int fileId;//文档的id号，主键
    private String fileName = null;//文档名称,unique
    private Timestamp createTime = null;//文档的创建时间
    private Timestamp alterTime = null;//文档的最后一次修改的时间
    private int userId;

    public File (){}

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getAlterTime() {
        return alterTime;
    }

    public void setAlterTime(Timestamp alterTime) {
        this.alterTime = alterTime;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getFileId() {
        return fileId;
    }

    public void setFileId(int fileId) {
        this.fileId = fileId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public File(Integer fileId, String fileName,
                Timestamp createTime, Timestamp alterTime, Integer userId) {
        this.fileId = fileId;
        this.fileName = fileName;
        this.createTime = createTime;
        this.alterTime = alterTime;
        this.userId = userId;
    }
}